import { RouteNoNameTreeType, RouteType } from '@/router/DataType'
import { lazy } from 'react'
const Project = lazy(() => import('@/pages/project'))
const ProjectRouter: RouteType = {
  path: '/project',
  component: Project,
  name:'project',
  children: [
    {
      path: '/project/base-data',
      name: '基本数据',
      children: [
        {
          path: '/project/base-data/concrete-number',
          name: '混凝土字典',
          component: lazy(() => import('@/pages/project/baseData/concreteNumber/index')),
          children:[]
        }
      ]
    },
    {
      path: '/project/business',
      name: '业务报表',
      children: [
        {
          path: '/project/business/mat-consume-mgr',
          name: '应耗量管理',
          component: lazy(() => import('@/pages/project/business/matConsumeMgr')),
          children:[]
        },
        {
          path: '/project/business/mat-order-tree',
          name: '用料通知单关联树',
          component: lazy(() => import('@/pages/project/business/matOrderTree')),
          children:[]
        }
      ]
    }
  ]
}
export default ProjectRouter
